import { categoryService } from '../services/category.service';
import { CategoryCreateDto, CategoryListDto, CategorySingleDto, CategoryUpdateDto } from '../dtos/category.dto';
import { BaseController } from './.controller';
import CategoryModel from '../models/category.model';

class CategoryController extends BaseController<CategoryModel, CategoryListDto, CategorySingleDto, CategoryCreateDto, CategoryUpdateDto> {
  constructor() {
    super(categoryService);
  }
}

export const categoryController = new CategoryController();
